#ifndef __CELL_ITEM_WIDGET__
#define __CELL_ITEM_WIDGET__


#include <QTableWidgetItem>
#include <QString>

class CellWidget : public QTableWidgetItem
{
  public:
    CellWidget();
    CellWidget(const CellWidget &other);


    QTableWidgetItem *clone() const;
    void setData(const QVariant &value, int role = Qt::EditRole);
    void setText(const QString &value);
    QVariant data(int role = Qt::EditRole) const;

protected:
    static const QString unknown_cell_value;
};

#endif
